package com.huanshi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author 幻世
 * @since 2023-10-15
 */
@Data
@TableName("oms_order_item")
@ApiModel(value = "OmsOrderItem对象", description = "")
public class OmsOrderItem implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("订单id")
      private Long orderId;

      @ApiModelProperty("订单编号")
      private String orderSn;

      @ApiModelProperty("商品id")
      private Long productId;

      @ApiModelProperty("商品主图")
      private String productPic;

      private String productName;

      @ApiModelProperty("销售价格")
      private BigDecimal productPrice;

      @ApiModelProperty("购买数量")
      private Integer productQuantity;


}
